from django.contrib import admin
from publications.models import Publication, Author


class PublicationAdmin(admin.ModelAdmin):
    list_display = ('title','times_cited','pub_date','source')
    search_fields = ['title']

admin.site.register(Publication, PublicationAdmin)
admin.site.register(Author)